package com.example.skytakeoutserver.data.dto

import io.swagger.v3.oas.annotations.media.Schema
import lombok.Getter
import lombok.Setter


@Setter
@Getter
@Schema(title = "分类(分页)")
data class CategoryPageQueryDTO(
    // 类型: 1菜品分类 2套餐分类
    @Schema(description = "类型: 1菜品分类 2套餐分类")
    var type: Int? = null,

    // 分类名称
    @Schema(description = "分类名称")
    var name: String? = null,

    @Schema(description = "页码")
    val page: Int = 1,

    @Schema(description = "页数")
    val pageSize: Int = 10,
)